# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=sugar-activity-calculate
_pkgname=Calculate
pkgver=47
pkgrel=3
pkgdesc="Graphing calculator for Sugar"
arch=('any')
url="https://wiki.sugarlabs.org/go/Activities/Calculate"
license=('GPL')
groups=('sugar-fructose')
depends=('sugar-toolkit-gtk3')
optdepends=('python-matplotlib: alternative plotting backend')
source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2)
sha256sums=('3ffa4dc00f88e0ddd43d6173fd278f74eeaca03f5098c3e301f41fd7e278fc90')

package() {
  cd $_pkgname-$pkgver
  python setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file
}
